package com.csmk.springboot_simple.util;

import cn.hutool.core.lang.generator.SnowflakeGenerator;

/**
 * 统一ID生成
 */
public class IDGenerator {
    static SnowflakeGenerator generator = new SnowflakeGenerator();

    public static Long get() {
        return generator.next();
    }
}
